package com.gator.desig_mode.command;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc 命令执行者
 */
public class Receiver {

  public void open(String name) {
    System.out.println("打开" + name + "操作");
  }

  public void close(String name) {
    System.out.println("关闭" + name + "操作");
  }

  public void suspend(String name) {
    System.out.println("暂停" + name + "操作");
  }

  public void refrigeration(String name) {
    System.out.println("制冷" + name + "操作");
  }

  public void undo(String name) {
    System.out.println("撤销" + name + "操作");
  }

}
